package com.bootdo.program.weixin.dao;

import com.bootdo.program.weixin.domain.WxAdvertDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 微信广告表
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2021-08-03 21:20:52
 */
@Mapper
public interface WxAdvertDao {

	WxAdvertDO get(Integer id);

	WxAdvertDO getByAppid(String appid);

	List<WxAdvertDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(WxAdvertDO wxAdvert);
	
	int update(WxAdvertDO wxAdvert);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
